#include "student.h"
#include <QDebug>

student::student(QObject *parent) : QObject(parent)
{

}

void student::treat()
{
    qDebug() << "请老师吃饭";
}

void student::treat(QString foodName)
{
    qDebug() << "请老师吃饭：" << foodName.toUtf8().data();
    qDebug() << "请老师吃饭：" << foodName;
}
